.account {
  background-color: #fff;
}

.account__content {
  width: 1004px;
  height: 100vh;
  border: 0.5px solid #eeeeee;
  display: flex;
  overflow: hidden;
}

.left__side {
  display: flex;
  flex-direction: column;
  width: 404px;
}

.left__side.unactive {
  display: flex;
  flex-direction: column;
  width: 404px;
}

.left__side__menu {
  margin: 10px 0px 0px 20px;
}

.left__side__menu__top {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.burger-menu {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  width: 18px;
  height: 14px;
}

.burger {
  height: 2px;
  width: 100%;
  transform: scale(1);
  background-color: #000000;
}

.burger-menu:before {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  top: 0;
  background-color: #000000;
  transition: all 0.3s ease;
}

.burger-menu::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  bottom: 0;
  background-color: #000000;
  transition: all 0.3s ease;
}

.search__dialogue {
  border: 1px solid #eeeeee;
  border-radius: 5px;
  background-color: #fbf9f9;
  width: 269px;
  padding: 7px 20px;
}

.left__side__menu__bottom {
  padding-top: 20px;
  display: inline-flex;
  /* justify-content: space-between; */
}

.total__dialogues {
  cursor: pointer;
  padding: 0px 10px 9px 10px;
  display: inline-flex;
  gap: 10px;
  transition: all 0.3s ease;
}

.total__dialogues.active {
  border-bottom: 1px solid #00adb5;
  transition: all 0.3s ease;
}

.total__dialogues p {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  color: #949697;
  transition: all 0.3s ease;
}

.total__dialogues.active p {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 16px;
  color: #393e46;
  transition: all 0.3s ease;
}

.total__dialogues span {
  padding: 2px 8px;
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 16px;
  color: #b9b9b9;
  border-radius: 43px;
  background-color: #fbf9f9;
}

.pending__dialogues {
  cursor: pointer;
  padding: 0px 10px 9px 10px;
  display: inline-flex;
  gap: 10px;
  transition: all 0.3s ease;
}

.pending__dialogues.active {
  border-bottom: 1px solid #00adb5;
  transition: all 0.3s ease;
}

.pending__dialogues p {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  color: #949697;
  transition: all 0.3s ease;
}

.pending__dialogues.active p {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 16px;
  color: #393e46;
  transition: all 0.3s ease;
}

.pending__dialogues span {
  padding: 2px 8px;
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 16px;
  color: #b9b9b9;
  border-radius: 43px;
  background-color: #fbf9f9;
}

.dialogues {
  overflow: auto;
  flex: 1;
}

.dialogues::-webkit-scrollbar {
  width: 5px;
  height: 10px;
  border-radius: 20px;
}

.dialogues::-webkit-scrollbar-thumb {
  background: #888888;
  border-radius: 20px;
}

.dialogue {
  cursor: pointer;
  border-bottom: 1px solid #eeeeee;
  border-top: 1px solid #eeeeee;
  display: flex;
  align-items: center;
  padding: 20px 20px 38px 20px;
  transition: all 0.3s ease;
}

.dialogue.active {
  background-color: #00adb5;
}

.user__icon {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex-shrink: 0;
  width: 46px;
}

.name__last__msg {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}

.username {
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 16px;
  color: #393e46;
}

.username.active {
  color: #fff;
}

.last__msg {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  color: #949697;
}

.last__msg.active {
  color: #fff;
}

/* right__side */

.right__side {
  width: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 8px 0px rgba(131, 128, 128, 0.4);
  border-radius: 31px 0px 0px 0px;

  overflow: hidden;
}

.right__side__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0px 22px 0px 30px;
  border-bottom: 1px solid #eeeeee;
  background-color: #fff;
}

.category__messages {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  padding: 0px 5px 10px;
  transition: all 0.3s ease;
  border-bottom: none;
  color: #b9b9b9;
}

.category__messages.active {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 16px;
  padding: 0px 5px 10px;
  border-bottom: 1px solid #00adb5;
  color: #393e46;
}

.category__report {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  padding: 0px 5px 10px;
  transition: all 0.3s ease;
  border-bottom: none;
  color: #b9b9b9;
}

.category__report.active {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 16px;
  padding: 0px 5px 10px;
  border-bottom: 1px solid #00adb5;
  color: #393e46;
}

.chat__block {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
  background-color: #fff;
}

.user__info {
  display: flex;
  align-self: center;
  gap: 21px;
}

.mobile__back__button {
  display: none;
}
.status {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 14px;
  color: #b9b9b9;
}

.operator__msg__block {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  flex: 1;
  overflow-y: auto;
  padding: 0px 30px 0px 30px;
}

.operator__msg__block::-webkit-scrollbar {
  width: 5px;
  height: 10px;
  border-radius: 20px;
}

.operator__msg__block::-webkit-scrollbar-thumb {
  background: #888888;
  border-radius: 20px;
}

.user__msg {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.username__msg {
  display: inline-block;
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 16px;
  color: #00adb5;
}

.msg {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 14px;
  word-break: break-all;
}

.operator__msg {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.right__side__bottom {
  display: flex;
  justify-content: space-between;
  min-height: 60px;
  border-top: 1px solid #eeeeee;
  padding: 33px 30px;
}

.operator__msg__input {
  width: 90%;
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 14px;
  color: #393e46;
}

.operator__msg__input::placeholder {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 16px;
  color: #b9b9b9;
}

.send__msg {
  transition: all 0.3s ease;
}

.send__msg:disabled {
  cursor: not-allowed;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  /* .container {
    padding: 0;
  } */
  .account__content {
    border-radius: 10px;
    width: 335px;
    position: relative;
    margin: 0 auto;
  }
  .burger-menu {
    display: none;
  }
  .chat__block {
    margin-top: 20px;
  }
  .left__side__menu {
    display: flex;
    flex-direction: column;

    justify-content: center;
  }
  .left__side {
    border: 0px;
    width: 335px;
  }
  .left__side.unactive {
    display: none;
  }
  .right__side {
    position: absolute;
    width: 335px;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    display: none;
  }
  .right__side.active {
    display: flex;
    position: absolute;
    width: 335px;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .right__side__menu {
    display: none;
  }

  .user__info {
    position: relative;
    border-bottom: 1px solid #eeeeee;
    align-self: auto;
    justify-content: center;
    padding-bottom: 20px;
  }

  .mobile__back__button {
    display: block;
    position: absolute;
    left: 15px;
    top: 12px;
    transition: all 0.3s ease;
  }

  .mobile__back__button:active {
    transform: scale(0.8);
  }

  .operator__msg__block {
    margin: 0;
    padding: 0 20px;
  }

  .user__msg {
    align-self: flex-start;
  }
  .user__msg .user__icon {
    display: none;
  }
  .user__msg .username__msg {
    display: none;
  }
  .user__msg .msg {
    display: inline-flex;
    align-self: flex-end;
    background-color: #eeeeee;
    padding: 11px 17px;
    border-radius: 0px 15px 15px 15px;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    margin-bottom: 20px;
    word-break: break-all;
  }

  .operator__msg {
    align-self: flex-end;
  }

  .operator__msg .user__icon {
    display: none;
  }
  .operator__msg .username__msg {
    display: none;
  }
  .operator__msg .msg {
    display: inline-flex;
    align-self: flex-start;
    background-color: #00adb5;
    padding: 11px 17px;
    border-radius: 15px 0px 15px 15px;
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
    word-break: break-all;
  }
}
